; Music of Lorna (1990) (Topo Soft) (TPM)
; Ripped by Megachur the 01/05/2009

	write "LORNA.BIN"

music_date_rip	equ &0159
music_adr	equ &d600
first_theme	equ 0
last_theme	equ 0	; 0 -> 0

	read "music_header_v1_0.asm"

	push af
	push de
	and #7f
	ld de,#002e
	call le615
	ld de,le76f
	add hl,de
	push hl
	ld a,(hl)
	inc hl
	or (hl)
	jr z,ld626
	ld d,#03
	ld hl,le76f
	ld bc,#002e
.ld61c
	inc hl
	ld a,(hl)
	dec hl
	or (hl)
	jr z,ld629
	add hl,bc
	dec d
	jr nz,ld61c
.ld626
	pop hl
	jr ld638
.ld629
	pop de
	jr ld638
;
.ld62c
;
	push af
	push de
	ld de,#002e
	call le615
	ld de,le76f
	add hl,de
.ld638
	push hl
	xor a
	ld b,#2e
.ld63c
	ld (hl),a
	inc hl
	djnz ld63c
	pop hl
	pop de
	ld (hl),e
	inc hl
	ld (hl),d
	inc hl
	ld (hl),e
	inc hl
	ld (hl),d
	pop af
	ret
;
.play_music
;
	push af
	ld b,#03
	xor a
	ld ix,le76f
	ld de,le764
	ld hl,le76c
.ld659
	push af
	push hl
	push de
	push bc
	ld (le762),a
	ld a,(ix+#04)
	or (ix+#05)
	jp nz,ld6c4
	xor a
	call ldfb1
	ld c,(ix+#02)
	ld b,(ix+#03)
	ld a,b
	or c
	jp z,ld77d
.ld678
	ld a,(bc)
	cp #80
	jp c,ld687
	sub #80
	ld hl,le744
	call le644
	jp (hl)
.ld687
	push af
	call le60a
	pop af
	add (hl)
	ld hl,le684
	call le644
	ld (ix+#0a),l
	ld (ix+#0b),h
	inc bc
.ld69a
	ld a,(ix+#08)
	call ldfb1
	call lde1c
	ld (ix+#2a),#00
	call lde34
	ld (ix+#2b),#00
	ld (ix+#2c),#00
.ld6b2
	ld (ix+#02),c
	ld (ix+#03),b
	ld l,(ix+#06)
	ld h,(ix+#07)
	ld (ix+#04),l
	ld (ix+#05),h
.ld6c4
	ld l,(ix+#04)
	ld h,(ix+#05)
	dec hl
	ld (ix+#04),l
	ld (ix+#05),h
	push ix
	pop iy
	ld d,#02
	ld c,#00
.ld6d9
	ld a,(iy+#0c)
	or a
	jr z,ld6e6
	dec a
	ld (iy+#0c),a
	inc c
	jr ld707
.ld6e6
	ld a,(iy+#0e)
	or a
	jr z,ld702
	dec a
	ld (iy+#0e),a
	ld a,(ix+#2a)
	add (iy+#1b)
	ld (ix+#2a),a
	ld a,(iy+#20)
	ld (iy+#0c),a
	inc c
	jr ld707
.ld702
	inc iy
	dec d
	jr nz,ld6d9
.ld707
	ld a,c
	or a
	jr nz,ld712
	bit 0,(ix+#2d)
	call nz,lde1c
.ld712
	push ix
	pop iy
	ld d,#03
	ld c,#00
.ld71a
	ld a,(iy+#10)
	or a
	jr z,ld727
	dec a
	ld (iy+#10),a
	inc c
	jr ld772
.ld727
	ld a,(iy+#13)
	or a
	jr z,ld76d
	dec a
	ld (iy+#13),a
	ld a,(iy+#1d)
	or a
	jp p,ld751
	ld a,(iy+#1d)
	cpl
	inc a
	ld e,a
	ld a,(ix+#2b)
	sub e
	ld (ix+#2b),a
	ld a,(ix+#2c)
	sbc #00
	and #0f
	ld (ix+#2c),a
	jr ld764
.ld751
	ld a,(ix+#2b)
	add (iy+#1d)
	ld (ix+#2b),a
	ld a,(ix+#2c)
	adc #00
	and #0f
	ld (ix+#2c),a
.ld764
	ld a,(iy+#22)
	ld (iy+#10),a
	inc c
	jr ld772
.ld76d
	inc iy
	dec d
	jr nz,ld71a
.ld772
	ld a,c
	or a
	jr nz,ld77d
	bit 1,(ix+#2d)
	call nz,lde34
.ld77d
	pop bc
	pop de
	pop hl
	ld a,(ix+#09)
	add (ix+#2a)
	and #0f
	ld (hl),a
	ld a,(ix+#0a)
	add (ix+#2b)
	ld (de),a
	inc de
	ld a,(ix+#0b)
	adc (ix+#2c)
	ld (de),a
	inc de
	push de
	ld de,#002e
	add ix,de
	pop de
	pop af
	inc a
	inc hl
	dec b
	jp nz,ld659
	ld iy,lee00
	ld d,#02
	ld c,#00
.ld7af
	ld a,(iy+#00)
	or a
	jr z,ld7bd
	dec a
	ld (iy+#00),a
	inc c
	jp lde00
.ld7bd
	ld a,(iy+#02)
	or a
	jr z,ld7da
	dec a
	ld (iy+#02),a
	ld a,(lee0c)
	add (iy+#06)
	ld (lee0c),a
	ld a,(iy+#08)
	ld (iy+#00),a
	inc c
	jp lde00
.ld7da
	inc iy
	dec d
	jr nz,ld7af
	jp lde00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00
.lde00
	ld a,c
	or a
	jr nz,lde0c
	ld a,(lee0a)
	bit 2,a
	call nz,lde4c
.lde0c
	ld a,(lee0b)
	ld e,a
	ld a,(lee0c)
	add e
	ld (le76a),a
	call le651
	pop af
	ret
.lde1c
	push ix
	ld d,#02
.lde20
	ld a,(ix+#20)
	ld (ix+#0c),a
	ld a,(ix+#16)
	ld (ix+#0e),a
	inc ix
	dec d
	jr nz,lde20
	pop ix
	ret
.lde34
	ld d,#03
	push ix
.lde38
	ld a,(ix+#22)
	ld (ix+#10),a
	ld a,(ix+#18)
	ld (ix+#13),a
	inc ix
	dec d
	jr nz,lde38
	pop ix
	ret
.lde4c
	ld d,#02
	push iy
	ld iy,lee00
.lde54
	ld a,(iy+#08)
	ld (iy+#00),a
	ld a,(iy+#04)
	ld (iy+#02),a
	inc iy
	dec d
	jr nz,lde54
	pop iy
	ret
	inc bc
	ld a,(bc)
	ld (ix+#09),a
	inc bc
	jp ld678
	inc bc
	ld a,(bc)
	ld de,(le763)
	ld d,#00
	call le615
	ld (ix+#06),l
	ld (ix+#07),h
	inc bc
	jp ld678
	inc bc
	ld a,(bc)
	and #09
	ld (ix+#08),a
	inc bc
	jp ld678
	push ix
	pop hl
	xor a
	ld b,#2e
.lde97
	ld (hl),a
	inc hl
	jr nz,lde97
	ld a,(le762)
	ld hl,lee0d
	xor (hl)
	jp nz,ld77d
	ld hl,lee00
	ld de,lee01
	ld bc,#000a
	ld (hl),a
	ldir
	inc de
	ld (de),a
	jp ld77d
	inc bc
	ld a,(bc)
	push bc
	ld de,#0010
	call le615
	ld bc,#0bb8
	push hl
	pop de
	call le62a
	ld a,c
	ld (le763),a
	pop bc
	inc bc
	jp ld678
	inc bc
	ld a,(bc)
	push af
	and #1f
	ld (lee0b),a
	call lde4c
	pop af
	inc bc
	or a
	jp m,ld678
	jp ld69a
	inc bc
	jp ld6b2
	ld c,(ix+#00)
	ld b,(ix+#01)
	ld (ix+#02),c
	ld (ix+#03),b
	jp ld678
	inc bc
	ld a,(bc)
	inc bc
	ld de,#0000
.ldefd
	push af
	ld a,(bc)
	push de
	ld de,(le763)
	ld d,#00
	call le615
	pop de
	add hl,de
	ex de,hl
	inc bc
	pop af
	dec a
	jr nz,ldefd
	ld (ix+#06),l
	ld (ix+#07),h
	jp ld678
	inc bc
	ld a,(bc)
	ld e,a
	or (ix+#2d)
	ld (ix+#2d),a
	ld a,(lee0a)
	or e
	ld (lee0a),a
	inc bc
	jp ld678
	inc bc
	res 0,(ix+#2d)
	res 1,(ix+#2d)
	ld a,(bc)
	ld de,#000f
	call le615
	ld de,lee17
	add hl,de
	push ix
	ld d,#0f
.ldf46
	ld a,(hl)
	ld (ix+#16),a
	inc hl
	inc ix
	dec d
	jp nz,ldf46
	pop ix
	inc bc
	ld (ix+#0c),#00
	ld (ix+#0d),#00
	ld (ix+#10),#00
	ld (ix+#11),#00
	ld (ix+#12),#00
	ld (ix+#2a),#00
	ld (ix+#2b),#00
	ld (ix+#2c),#00
	jp ld678
	inc bc
	ld a,(lee0a)
	res 2,a
	ld (lee0a),a
	ld a,(bc)
	ld de,#0006
	call le615
	ld de,lee80
	add hl,de
	ld iy,lee00
	ld (iy+#00),#00
	ld (iy+#01),#00
	ld d,#06
.ldf99
	ld a,(hl)
	ld (iy+#04),a
	inc hl
	inc iy
	dec d
	jr nz,ldf99
	xor a
	ld (lee0c),a
	inc bc
	ld a,(le762)
	ld (lee0d),a
	jp ld678
.ldfb1
	push de
	cpl
	ld e,a
	ld d,#09
	ld a,(le762)
.ldfb9
	dec a
	jp m,ldfc4
	scf
	rl e
	sla d
	jr ldfb9
.ldfc4
	ld a,(le76b)
	or d
	and e
	ld (le76b),a
	pop de
	ret
	ld a,(le762)
	inc bc
	add a
	ld l,a
	ld h,#00
	ld a,(bc)
	inc bc
	ld de,lee0e
	add hl,de
	ld (hl),c
	inc hl
	ld (hl),b
	ld hl,lee8c
	call le644
	ld b,h
	ld c,l
	jp ld678
	ld a,(le762)
	add a
	ld l,a
	ld h,#00
	ld de,lee0e
	add hl,de
	ld c,(hl)
	inc hl
	ld b,(hl)
	jp ld678
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00
	inc bc
	call le60a
	ld a,(bc)
	inc bc
	ld (hl),a
	jp ld678
.le60a
	ld a,(le762)
	ld l,a
	ld h,#00
	ld de,lee14
	add hl,de
	ret
.le615
	ld hl,#0000
	and a
	ret z
	push bc
	ld b,#08
.le61d
	srl a
	jr nc,le622
	add hl,de
.le622
	sla e
	rl d
	djnz le61d
	pop bc
	ret
.le62a
	push af
	ld hl,#0000
	ld a,b
	ld b,#10
.le631
	rl c
	rla
	adc hl,hl
	sbc hl,de
	jr nc,le63b
	add hl,de
.le63b
	ccf
	djnz le631
	rl c
	rla
	ld b,a
	pop af
	ret
.le644
	push af
	add a
	add l
	ld l,a
	jr nc,le64b
	inc h
.le64b
	ld a,(hl)
	inc hl
	ld h,(hl)
	ld l,a
	pop af
	ret
.le651
	ld b,#f7
	ld c,#82
	out (c),c
	ld hl,le764
	ld a,#00
	ld d,#0b
.le65e
	push af
	ld c,(hl)
	ld b,#f4
	out (c),a
	ld b,#f6
	in a,(c)
	or #c0
	out (c),a
	and #3f
	out (c),a
	ld b,#f4
	out (c),c
	ld b,#f6
	ld c,a
	or #80
	out (c),a
	out (c),c
	pop af
	inc a
	inc hl
	dec d
	jr nz,le65e
	ret
.le684
	dw #0eee,#0e18,#0d4d,#0c8e
	dw #0bda,#0b2f,#0a8f,#09f7
	dw #0968,#08e1,#0861,#07e9
	dw #0777,#070c,#06a7,#0647
	dw #05ed,#0598,#0547,#04fc
	dw #04b4,#0470,#0431,#03f4
	dw #03bc,#0386,#0353,#0324
	dw #02f6,#02cc,#02a4,#027e
	dw #025a,#0238,#0218,#01fa
	dw #01de,#01c3,#01aa,#0192
	dw #017b,#0166,#0152,#013f
	dw #012d,#011c,#010c,#00fd
	dw #00ef,#00e1,#00d5,#00c9
	dw #00be,#00b3,#00a9,#009f
	dw #0096,#008e,#0086,#007f
	dw #0077,#0071,#006a,#0064
	dw #005f,#0059,#0054,#0050
	dw #004b,#0047,#0043,#003f
	dw #003c,#0038,#0035,#0032
	dw #002f,#002d,#002a,#0028
	dw #0026,#0024,#0022,#0020
	dw #001e,#001c,#001b,#0019
	dw #0018,#0016,#0015,#0014
	dw #0013,#0012,#0011,#0010
.le744
	db #68,#de,#86,#de,#e8,#de,#71,#de
	db #e4,#de,#b6,#de,#f7,#de,#2e,#df
	db #d0,#de,#77,#df,#1a,#df,#91,#de
.le763 equ $ + 7
.le762 equ $ + 6
	db #ce,#df,#ea,#df,#00,#e6,#00,#00
.le76b equ $ + 7
.le76a equ $ + 6
.le764
	db #00,#00,#00,#00,#00,#00,#00,#00
.le76c
	db #00,#00,#00
.le76f
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
.lee01 equ $ + 1
.lee00
	db #00,#00,#00,#00,#00,#00,#00,#00
.lee0e equ $ + 6
.lee0d equ $ + 5
.lee0c equ $ + 4
.lee0b equ $ + 3
.lee0a equ $ + 2
	db #00,#00,#00,#00,#00,#00,#00,#00
.lee17 equ $ + 7
.lee14 equ $ + 4
	db #00,#00,#00,#00,#00,#00,#00,#07
	db #00,#00,#00,#00,#fe,#00,#00,#00
	db #00,#01,#00,#00,#00,#00,#0a,#00
	db #00,#00,#00,#ff,#00,#00,#00,#00
	db #03,#00,#00,#00,#00,#03,#0a,#00
	db #00,#00,#fe,#ff,#00,#00,#00,#01
	db #02,#00,#00,#00,#01,#01,#00,#00
	db #00,#04,#fc,#00,#00,#00,#01,#01
	db #00,#00,#00,#01,#01,#01,#01,#00
	db #04,#fc,#03,#fd,#00,#01,#01,#01
	db #01,#00,#01,#01,#14,#01,#00,#00
	db #f1,#00,#00,#00,#03,#01,#00,#00
	db #00,#02,#01,#00,#00,#00,#fe,#01
	db #00,#00,#00,#02,#01,#00,#00,#00
.lee80
	db #0a,#00,#00,#00,#01,#00,#1e,#00
.lee8c equ $ + 4
	db #f7,#00,#01,#00,#b6,#ee,#ef,#ee
	db #10,#ef,#79,#ef,#b2,#ef,#00,#f6
	db #39,#f6,#b6,#ee,#b6,#ee,#b6,#ee
	db #b6,#ee,#b6,#ee,#b6,#ee,#b6,#ee
	db #b6,#ee,#b6,#ee,#b6,#ee,#b6,#ee
	db #b6,#ee,#b6,#ee,#b6,#ee,#87,#01
	db #81,#01,#80,#0d,#83,#05,#1f,#26
	db #29,#24,#28,#2b,#1f,#26,#29,#24
	db #28,#2b,#1f,#26,#29,#24,#28,#2b
	db #1f,#26,#29,#24,#28,#2b,#21,#28
	db #2b,#26,#29,#2d,#21,#2b,#2e,#26
	db #29,#2d,#21,#28,#2b,#26,#29,#2d
	db #21,#2b,#2e,#26,#29,#2d,#8d,#87
	db #01,#81,#01,#80,#0d,#83,#0a,#1f
	db #1c,#18,#1c,#1f,#18,#1f,#1c,#18
	db #1c,#1f,#18,#21,#1d,#1a,#1d,#21
	db #1a,#22,#1f,#1a,#1f,#22,#1a,#8d
	db #87,#01,#81,#01,#80,#0d,#83,#05
	db #24,#2b,#2f,#29,#2d,#30,#24,#2b
	db #2f,#29,#2d,#30,#24,#2b,#2f,#29
	db #2d,#30,#24,#2b,#2f,#29,#2d,#30
	db #26,#2d,#30,#2b,#2f,#32,#26,#30
	db #34,#2b,#2f,#32,#26,#2d,#30,#2b
	db #2f,#32,#26,#30,#34,#2b,#2f,#32
	db #28,#2f,#32,#2d,#30,#34,#28,#2f
	db #32,#2d,#30,#34,#24,#2b,#2f,#29
	db #2d,#30,#24,#2b,#2f,#29,#2d,#30
	db #26,#2d,#30,#2b,#2f,#32,#26,#2d
	db #30,#2b,#2f,#32,#26,#2d,#30,#2b
	db #2f,#32,#26,#2d,#30,#2b,#2f,#32
	db #8d,#87,#01,#81,#01,#80,#0d,#83
	db #0a,#24,#21,#1d,#21,#24,#1d,#24
	db #21,#1d,#21,#24,#1d,#26,#23,#1f
	db #23,#26,#1f,#26,#23,#1f,#23,#26
	db #1f,#21,#24,#28,#21,#24,#28,#1d
	db #21,#24,#1d,#21,#24,#1a,#1f,#23
	db #26,#2b,#2f,#32,#37,#3b,#3e,#3b
	db #37,#8d,#87,#01,#81,#01,#80,#0d
	db #83,#0a,#24,#22,#18,#24,#22,#18
	db #24,#21,#18,#24,#21,#18,#24,#1f
	db #1c,#18,#1c,#1f,#24,#1f,#1c,#18
	db #1c,#18,#8d,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	
	defs #53b,0
	
; &aebf
.laebf
	db #85,#64,#8e,#00,#8c,#04,#8c,#04
	db #8c,#04,#8e,#0c,#8c,#00,#8c,#00
	db #8c,#02,#8c,#02,#8c,#00,#8c,#00
	db #8c,#02,#8c,#02,#8e,#0a,#8c,#00
	db #8c,#00,#8c,#02,#8c,#02,#8c,#00
	db #8c,#00,#8c,#02,#8c,#02,#8e,#0c
	db #8c,#00,#82
	
; &aef2
.laef2
	db #85,#64,#8e,#0c,#8c,#04,#8e,#00
	db #8c,#05,#8c,#05,#8e,#0c,#8c,#01
	db #8c,#01,#8e,#18,#8c,#03,#8c,#03
	db #8e,#0c,#8c,#01,#8c,#01,#8e,#18
	db #8c,#03,#8c,#03,#8e,#0a,#8c,#01
	db #8c,#01,#8e,#16,#8c,#03,#8c,#03
	db #8e,#0a,#8c,#01,#8c,#01,#8e,#16
	db #8c,#03,#8c,#03,#8e,#10,#8c,#00
	db #82
	
; &af33
.laf33
	db #85
	db #64,#8e,#18,#8c,#04,#8c,#05,#8e
	db #00,#8c,#06,#8e,#18,#8c,#00,#8e
	db #24,#8c,#00,#8e,#18,#8c,#02,#8e
	db #24,#8c,#02,#8e,#18,#8c,#00,#8e
	db #24,#8c,#00,#8e,#18,#8c,#02,#8e
	db #24,#8c,#02,#8e,#16,#8c,#00,#8e
	db #22,#8c,#00,#8e,#16,#8c,#02,#8e
	db #22,#8c,#02,#8e,#16,#8c,#00,#8e
	db #22,#8c,#00,#8e,#16,#8c,#02,#8e
	db #22,#8c,#02,#8e,#00,#8c,#00,#82
	
; #f600
.lf600
	db #87,#02,#81,#01,#80,#0d,#83,#05
	db #2b,#2d,#2e,#30,#2e,#2d,#2b,#2d
	db #2e,#30,#2e,#2d,#2b,#2d,#2e,#30
	db #2e,#2d,#2b,#2d,#2e,#30,#2e,#2d
	db #2b,#2d,#2e,#30,#2e,#2d,#2b,#2d
	db #2e,#30,#2e,#2d,#2b,#2e,#2b,#28
	db #2b,#28,#24,#28,#2b,#28,#2b,#30
	db #8d,#87,#01,#81,#01,#80,#0f,#83
	db #0a,#30,#34,#3c,#30,#34,#3c,#30
	db #35,#3c,#30,#35,#3c,#30,#37,#3c
	db #30,#37,#3c,#83,#01,#5a,#59,#58
	db #57,#56,#55,#54,#53,#52,#51,#50
	db #4f,#4e,#4d,#4c,#4b,#4a,#49,#48
	db #47,#46,#45,#44,#43,#42,#41,#40
	db #3f,#3e,#3d,#3c,#3b,#3a,#39,#38
	db #37,#36,#35,#34,#33,#32,#31,#30
	db #2f,#2e,#2d,#2c,#2b,#2a,#29,#28
	db #27,#26,#25,#24,#23,#22,#21,#20
	db #1f,#8d,#00,#01,#00,#3f,#00,#04
	db #00,#02,#00,#00,#21,#cb,#f6,#af
	db #77,#54,#5d,#13,#01,#05,#00,#ed
	db #b0,#11,#cb,#f6,#06,#06,#3a,#dd
	db #f6,#b7,#21,#de,#f6,#28,#03,#21
	db #d1,#f6,#4e,#23,#cd,#44,#f7,#4e
	db #23,#a1,#28,#03,#3e,#01,#12,#13
	db #10,#f0,#c9,#00,#00,#00,#00,#00
	db #00,#09,#01,#09,#02,#09,#04,#09
	db #08,#09,#10,#05,#10,#00,#08,#08
	db #08,#20,#04,#04,#03,#08,#05,#80
	db #05,#10,#0e,#05,#cd,#44,#f7,#e6
	db #40,#c0,#0e,#07,#cd,#44,#f7,#e6
	db #10,#28,#ef,#af,#c9,#06,#09,#48
	db #0d,#cd,#44,#f7,#b7,#c0,#10,#f7
	db #18,#f3,#87,#4f,#87,#87,#81,#4f
	db #06,#00,#21,#26,#f7,#09,#06,#09
	db #3e,#09,#90,#4f,#cd,#44,#f7,#be
	db #c0,#23,#10,#f4,#af,#c9,#00,#00
	db #00,#00,#08,#10,#40,#00,#20,#00
	db #00,#00,#00,#00,#18,#40,#08,#00
	db #20,#00,#00,#00,#00,#00,#10,#44
	db #00,#00,#a0,#00,#d5,#c5,#f3,#51
	db #01,#0e,#f4,#ed,#49,#06,#f6,#ed
	db #78,#e6,#30,#4f,#f6,#c0,#ed,#79
	db #ed,#49,#04,#3e,#92,#ed,#79,#c5
	db #4a,#cb,#f1,#06,#f6,#ed,#49,#06
	db #f4,#ed,#78,#57,#c1,#3e,#82,#ed
	db #79,#05,#ed,#49,#7a,#2f,#c1,#d1
	db #c9,#f3,#3e,#c3,#32,#38,#00,#22
	db #39,#00,#ed,#56,#c9,#3e,#c9,#32
	db #38,#00,#f3,#c9,#6f,#26,#00,#29
	db #29,#29,#29,#01,#10,#b9,#09,#7b
	db #01,#10,#08,#ed,#a0,#ed,#a0,#1d
	db #1d,#7a,#c6,#08,#57,#10,#f4,#c9
	db #46,#23,#c5,#5e,#23,#56,#23,#cd
	db #e8,#f7,#18,#09,#d5,#e5,#cd,#8c
	db #f7,#e1,#d1,#1c,#1c,#7e,#23,#b7
	db #20,#f2,#c1,#10,#e5,#c9,#11,#03
	db #20,#06,#0e,#c5,#d5,#cd,#e8,#f7
	db #06,#1a,#c5,#d5,#3e,#3e,#cd,#8c
	db #f7,#d1,#1c,#1c,#c1,#10,#f3,#d1
	db #7a,#c6,#08,#57,#c1,#10,#e4,#c9
	db #e5,#7a,#e6,#f8,#6f,#26,#00,#54
	db #29,#29,#29,#19,#16,#c0,#19,#eb
	db #e1,#c9,#00,#00,#00,#00,#00,#00
	
	
; #ae85
;
.init_music
;
;di
;ld hl,#bec0
;call #f779
;im 1
	ld a,#00
	ld de,laebf
	call ld62c
	inc a
	ld de,laef2
	call ld62c
	inc a
	ld de,laf33
	call ld62c
	ret
; stop music
;ld a,#00
;ld de,#0000
;call #d62c
;inc a
;call #d62c
;inc a
;call #d62c

	
;
.game_name
	db "Lorna",0
.game_year
	db "1990",0
.game_publisher
	db "Topo Soft",0
.music_author
	db "TPM",0
.music_comment
	db "",0

	read "music_end_v1_0.asm"
